class RequestHttp {

  getUrl(url:string,params:string){
  //xxx
  console.log("进行网络请求");
  }

}
 //export default 导出后，其他ts引用很方便 import requset from './exportTest.ts';   request.getUrl()
export default new RequestHttp() 

